@charset "utf-8";
html,body{
    width: 100%;
    height: 100%;
}
/* 设置版心样式 */
.container{
    width: 1225px;
    margin: 0 auto;
}
/* 设置中购物车背景样式 */
section{
    width: 100%;
    min-width: 1225px;
    background-color: #EDEDED;
    padding: 40px 0 50px;
}

/* 设置购物车表单块的样式 */
.shoplist{
    width: 1220px;
    height: auto;
    border: 1px solid #cccccc;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: hidden;
    padding-bottom: 85px;
    position: relative;
}
.listtheme{
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #cccccc;
    background-color: #FAFAFA;
}
.listtheme h1{
    padding-left: 30px;
    font-size: 18px;
    height: 60px;
    line-height: 60px;
    padding-left: 30px;
    color: rgba(0,0,0,.6);
    font-weight: 800;
}
.listtittle{
    width: 100%;
    height: 38px;
    border-bottom: 1px solid #cccccc;
    background-color: #f5f5f5;
}
.shoplist ul{
    display: flex;
    align-items: center;
}
.shoplist ul li{
    display: flex;
    align-items: center;
}
.shoplist ul li:nth-child(1){
    padding-left: 30px;
    width: 600px;
}
.shoplist ul li:nth-child(2){
    flex: 1;
    justify-content: center;
}
.shoplist ul li:nth-child(3){
    flex: 1;
    justify-content: center;
}
.shoplist ul li:nth-child(4){
    flex: 1;
    justify-content: center;
}
.shoplist ul li:nth-child(5){
    flex: 1;
    justify-content: center;
}
.goods li{
    height: 110px;
}
.goods li:nth-child(4){
    flex-direction: column;
}
.goods li img{
    display: block;
    width: 80px;
    height: 80px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    margin-left: 30px;
}
.goods li div{
    margin-left: 20px;
    display: flex;
    flex-direction: column;
}
.goods li div h2{
    font-size: 16px;
    font-weight: 700;
    color: #333333;
}
.goods li div p{
    font-size: 12px;
    color: #999999;
    padding-top: 6px;
}
.goods li:nth-child(2){
    font-size: 14px;
    color: #666666;
}
.shoplist .goods li:nth-child(3){
    justify-content: space-around;
}
.goods li button{
    display: block;
    width: 25px;
    height: 25px;
    outline: none;
    border: 1px solid #cccccc;
    border-radius: 50%;
    box-shadow: 0 0 5px 2px #cccccc;
    background-color: #ffffff;
    color: #999999;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}
.goods li button:hover{
    background-color: #eeeeee;
}
/* 设置按钮不能再减少的样式 */
.goods li button.notreduce{
    color: #cccccc;
    box-shadow: 0 0 3px 3px #EDEDED;
    cursor: not-allowed;
}
.goods li em{
    font-size: 14px;
    color: #333333;
    font-weight: 700;
}
.goods li b{
    font-size: 13px;
    color: #333333;
    font-weight: 700;
}
.goods li i{
    font-size: 12px;
    color: #d44d44;
    font-weight: 600;
    margin-top: 5px;
}
.goods li span{
    font-size: 22px;
    color: #bbbbbb;
}
.goods li span:hover{
    color: #888888;
}

/* 设置底部的结算的样式 */
.allmsg{
    width: 1160px;
    height: 80px;
    bottom: 0;
    border-top: 1px solid #cccccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: absolute;
    background-color: #ffffff;
    z-index: 999;
}
/* 滚动时添加的样式，滚动到某一高度时去除样式 */
.allmsg.allscroll{
    position: fixed;
}
.leftmsg{
    display: flex;
    align-items: center;
}
.leftmsg h3{
    padding: 0 10px;
    font-size: 12px;
    color: #666666;
    border-right: 1px solid #cccccc;
    cursor: pointer;
}
.leftmsg span{
    padding-left: 10px;
    font-size: 12px;
    color: #bbbbbb;
    cursor: pointer;
}
.rightmsg{
    display: flex;
    align-items: center;
}
.rightmsg div:nth-child(1){
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 20px;
    border-right: 1px solid #cccccc;
}
.rightmsg div h2{
    font-size: 14px;
    color: #323232;
    font-weight: 600;
}
.rightmsg div h2 em{
    color: #d44d44;
    font-size: 18px;
}
.rightmsg div b{
    font-size: 14px;
    color: #959599;
    font-weight: 600;
    margin-top: 4px;
}
.rightmsg div b i{
    font-size: 16px;
}
.rightmsg div:nth-child(2){
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 20px;
}
.rightmsg button{
    width: 128px;
    height: 48px;
    outline: none;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background-color: #567ce6;
}
.rightmsg button:hover{
    background-color: #6484d0;
}

/* 设置相关推荐部分的样式 */
.suggestion{
	width: 100%;
    margin-top: 30px;
}
.suggestion .container{
    width: 1220px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
}
.suggestion h2{
	padding: 20px 30px;
	font-size: 18px;
	color: #00000099;
    font-weight: 700;
    border-bottom: 1px solid #cccccc;
    background-color: #FAFAFA;
}
.suggestion ul{
	width: 100%;
	min-width: 1220px;
	height: 430px;
	display: flex;
	justify-content: space-between;
}
.suggestion ul li{
    flex: 1;
	height: 428px;
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: column;
	border: 1px solid #CCCCCC;
}
.suggestion li a{
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
}
.suggestion li img {
	width: 216px;
	height: 216px;
	margin-top: 50px;
	margin-bottom: 20px;
}
.suggestion li h3 {
	padding: 0 5px;
	font-size: 15px;
	color: #333333;
	font-weight: 600;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.suggestion li p:nth-child(3) {
	font-size: 12px;
	color: #999999;
	padding: 15px 12px 0;
}

/* 当鼠标悬停时红字出现 */
.suggestion li>span{
	font-size: 12px;
	color: #D44D44;
	padding: 15px 12px 0;
	display: none;
}

.suggestion li b {
	height: 12px;
	padding: 15px 0 0;
	display: flex;
	justify-content: space-around;
}

/* 商品展示小圆点的颜色，默认是白色 */
.suggestion li b span {
	margin: 0 5px;
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 2px solid #CCCCCC;
	background-color: #FFFFFF;
}
/* 设置几种span的颜色 */
.suggestion li b .red{
	background-color: red;
}
.suggestion li b .blue{
	background-color: darkblue;
}
.suggestion li b .black{
	background-color: black;
}
.suggestion li b .pink{
	background-color: pink;
}
.suggestion li b .gray{
	background-color: gray;
}

.suggestion li b span:hover {
	border: 2px solid #999999;
}

.suggestion li em {
	margin: 20px 0;
	font-size: 18px;
	color: #D44D44;
	font-weight: 600;
}
/* 鼠标悬停时查看详情按钮出现 */
.suggestion strong{
	padding: 3px 20px;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
	font-size: 14px;
	color: #333333;
	margin-top: 20px;
	background-color: #FAFAFA;
	font-weight: 600;
	display: none;
}

.suggestion li em del {
	font-size: 12px;
	color: #CCCCCC;
	font-weight: normal;
	padding-left: 10px;
}
.suggestion li i{
	display: block;
	padding: 0 10px;
	border: 1px solid #D03B34;
	background-color: #FAE7E5;
	color: #D03B34;
	position: absolute;
	border-radius: 10px;
	font-size: 12px;
	top: 10px;
	right: 10px;
	display: none;
	font-weight: 600;
}
.suggestion li aside{
	display: block;
	padding: 0 10px;
	border: 1px solid #A06E37;
	background-color: #FFFBDF;
	color: #A06E37;
	position: absolute;
	border-radius: 10px;
	font-size: 12px;
	top: 10px;
	right: 10px;
	display: none;
	font-weight: 600;
}
/* 设置物品展示右上角的标签显示 */
.suggestion ul li .showtips {
	display: block;
}
/* 设置相关推荐鼠标悬浮时的样式 */
.suggestion ul li:hover{
	box-shadow: 0 0 1px 1px #CBCBCB;
}
.suggestion ul li:hover>p{
	display: none;
}
.suggestion ul li:hover>em{
	display: none;
}
.suggestion ul li:hover>span{
	display: block;
}
.suggestion ul li:hover>strong{
	display: block;
}